package my.soft.aiteacher.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import my.soft.aiteacher.common.pojo.UserDo;
import my.soft.aiteacher.common.pojo.UserVo;

import java.util.Map;

public interface IUserService extends IService<UserDo> {

    String login(UserVo user);

    Map<String,Object> getCaptcha();

    void sendMall(String to);

    String mailLogin(UserVo user);

    UserVo getUserDetail(Object principal);

    void updateUserDetail(UserVo userVo);
}
